#ifndef GTKLOGINDIALOG_H
#define GTKLOGINDIALOG_H

#include <stdlib.h>
#include <gtk/gtk.h>

class GTKLoginDialog
{
public:

    GTKLoginDialog(int argc, char *argv[]);
    virtual ~GTKLoginDialog();

    typedef struct
    {
        /* Login Options */
        GtkWidget *ok_button;
        GtkWidget *login_frame;
        GtkWidget *protocol_menu;
        GtkWidget *password_box;
        GtkWidget *username_entry;
        GtkWidget *password_entry;
        GtkWidget *alias_entry;
        GtkWidget *remember_pass_check;
        GtkWidget *wechat_login_button;
        GtkWidget *QQ_login_button;

        /*Register Options*/
        GtkWidget *RegisterWindow;
        GtkWidget *Username_entry;
        GtkWidget *Password_entry;
        GtkWidget *Tel_entry;
        GtkWidget *Sex_entry;
        GtkWidget *register_button;
        GtkWidget *man_radio_button;
        GtkWidget *woman_radio_button;
        GtkWidget *Email_entry;
        GtkWidget *EmailVerification_entry;
        GtkWidget *Nickname_entry;
        GtkWidget *Register_button;
        GtkWidget *Return_button;
        GtkWidget *Verification_button;

    } AccountPrefsDialog;


    static void pidgin_Login_dialog_show();
    static void pidgin_register_dialog_show();
    static void Username_changed_cb(GtkEntry *entry, AccountPrefsDialog *dialog);
    static void pidgin_register_dialog_hide(GtkWidget *w, AccountPrefsDialog *dialog);

    //)

};

#endif
